package cn.enjoy.dao;

import cn.enjoy.beans.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ Author   ：陈慧杰
 * @ Date     ：Created in 10:35 2022/2/22
 */
@Mapper
public interface UserMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User findByUsernameAndPasswd(@Param("username") String username, @Param("passwd") String passwd);




}
